package cn.zy.pet.mapper;

import cn.zy.pet.domain.Pet;
import cn.zy.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zy
 * @since 2023-02-15
 */
public interface PetMapper extends BaseMapper<Pet> {

    void updateOffState(@Param("ids")List<Long> ids, @Param("date") Date date);

    void updateOnsaleState(@Param("id")Long id, @Param("date")Date date);
}
